package com.tedu.day07springmvc.mapper;


import com.tedu.day07springmvc.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {

    int insertUser(User user);
    User selectUserByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
